Integrand size = 25, antiderivative size = 108 \[ \int \frac {(d+e x) \left (d^2-e^2 x^2\right )^{3/2}}{x^6} \, dx=\frac {3 e^3 \sqrt {d^2-e^2 x^2}}{8 x^2}-\frac {e \left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}-\frac {\left (d^2-e^2 x^2\right )^{5/2}}{5 d x^5}-\frac {3 e^5 \text {arctanh}\left (\frac {\sqrt {d^2-e^2 x^2}}{d}\right )}{8 d} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 108, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {821, 272, 43, 65, 214} \[ \int \frac {(d+e x) \left (d^2-e^2 x^2\right )^{3/2}}{x^6} \, dx=-\frac {3 e^5 \text {arctanh}\left (\frac {\sqrt {d^2-e^2 x^2}}{d}\right )}{8 d}-\frac {\left (d^2-e^2 x^2\right )^{5/2}}{5 d x^5}-\frac {e \left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}+\frac {3 e^3 \sqrt {d^2-e^2 x^2}}{8 x^2} \]
[In]
[Out]
Rule 43
Rule 65
Rule 214
Rule 272
Rule 821
Rubi steps \begin{align*} \text {integral}& = -\frac {\left (d^2-e^2 x^2\right )^{5/2}}{5 d x^5}+e \int \frac {\left (d^2-e^2 x^2\right )^{3/2}}{x^5} \, dx \\ & = -\frac {\left (d^2-e^2 x^2\right )^{5/2}}{5 d x^5}+\frac {1}{2} e \text {Subst}\left (\int \frac {\left (d^2-e^2 x\right )^{3/2}}{x^3} \, dx,x,x^2\right ) \\ & = -\frac {e \left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}-\frac {\left (d^2-e^2 x^2\right )^{5/2}}{5 d x^5}-\frac {1}{8} \left (3 e^3\right ) \text {Subst}\left (\int \frac {\sqrt {d^2-e^2 x}}{x^2} \, dx,x,x^2\right ) \\ & = \frac {3 e^3 \sqrt {d^2-e^2 x^2}}{8 x^2}-\frac {e \left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}-\frac {\left (d^2-e^2 x^2\right )^{5/2}}{5 d x^5}+\frac {1}{16} \left (3 e^5\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {d^2-e^2 x}} \, dx,x,x^2\right ) \\ & = \frac {3 e^3 \sqrt {d^2-e^2 x^2}}{8 x^2}-\frac {e \left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}-\frac {\left (d^2-e^2 x^2\right )^{5/2}}{5 d x^5}-\frac {1}{8} \left (3 e^3\right ) \text {Subst}\left (\int \frac {1}{\frac {d^2}{e^2}-\frac {x^2}{e^2}} \, dx,x,\sqrt {d^2-e^2 x^2}\right ) \\ & = \frac {3 e^3 \sqrt {d^2-e^2 x^2}}{8 x^2}-\frac {e \left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}-\frac {\left (d^2-e^2 x^2\right )^{5/2}}{5 d x^5}-\frac {3 e^5 \tanh ^{-1}\left (\frac {\sqrt {d^2-e^2 x^2}}{d}\right )}{8 d} \\ \end{align*}
Time = 0.28 (sec) , antiderivative size = 122, normalized size of antiderivative = 1.13 \[ \int \frac {(d+e x) \left (d^2-e^2 x^2\right )^{3/2}}{x^6} \, dx=\frac {1}{40} \left (\frac {\sqrt {d^2-e^2 x^2} \left (-8 d^4-10 d^3 e x+16 d^2 e^2 x^2+25 d e^3 x^3-8 e^4 x^4\right )}{d x^5}-\frac {15 e^5 \log (x)}{\sqrt {d^2}}+\frac {15 e^5 \log \left (\sqrt {d^2}-\sqrt {d^2-e^2 x^2}\right )}{\sqrt {d^2}}\right ) \]
[In]
[Out]
Time = 0.39 (sec) , antiderivative size = 107, normalized size of antiderivative = 0.99
method | result | size |
risch | \(-\frac {\sqrt {-e^{2} x^{2}+d^{2}}\, \left (8 e^{4} x^{4}-25 d \,e^{3} x^{3}-16 d^{2} e^{2} x^{2}+10 d^{3} e x +8 d^{4}\right )}{40 x^{5} d}-\frac {3 e^{5} \ln \left (\frac {2 d^{2}+2 \sqrt {d^{2}}\, \sqrt {-e^{2} x^{2}+d^{2}}}{x}\right )}{8 \sqrt {d^{2}}}\) | \(107\) |
default | \(e \left (-\frac {\left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}{4 d^{2} x^{4}}-\frac {e^{2} \left (-\frac {\left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}{2 d^{2} x^{2}}-\frac {3 e^{2} \left (\frac {\left (-e^{2} x^{2}+d^{2}\right )^{\frac {3}{2}}}{3}+d^{2} \left (\sqrt {-e^{2} x^{2}+d^{2}}-\frac {d^{2} \ln \left (\frac {2 d^{2}+2 \sqrt {d^{2}}\, \sqrt {-e^{2} x^{2}+d^{2}}}{x}\right )}{\sqrt {d^{2}}}\right )\right )}{2 d^{2}}\right )}{4 d^{2}}\right )-\frac {\left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}{5 d \,x^{5}}\) | \(166\) |
[In]
[Out]
none
Time = 0.39 (sec) , antiderivative size = 98, normalized size of antiderivative = 0.91 \[ \int \frac {(d+e x) \left (d^2-e^2 x^2\right )^{3/2}}{x^6} \, dx=\frac {15 \, e^{5} x^{5} \log \left (-\frac {d - \sqrt {-e^{2} x^{2} + d^{2}}}{x}\right ) - {\left (8 \, e^{4} x^{4} - 25 \, d e^{3} x^{3} - 16 \, d^{2} e^{2} x^{2} + 10 \, d^{3} e x + 8 \, d^{4}\right )} \sqrt {-e^{2} x^{2} + d^{2}}}{40 \, d x^{5}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 4.21 (sec) , antiderivative size = 774, normalized size of antiderivative = 7.17 \[ \int \frac {(d+e x) \left (d^2-e^2 x^2\right )^{3/2}}{x^6} \, dx=d^{3} \left (\begin {cases} \frac {3 i d^{3} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}}}{- 15 d^{2} x^{5} + 15 e^{2} x^{7}} - \frac {4 i d e^{2} x^{2} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}}}{- 15 d^{2} x^{5} + 15 e^{2} x^{7}} + \frac {2 i e^{6} x^{6} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}}}{- 15 d^{5} x^{5} + 15 d^{3} e^{2} x^{7}} - \frac {i e^{4} x^{4} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}}}{- 15 d^{3} x^{5} + 15 d e^{2} x^{7}} & \text {for}\: \left |{\frac {e^{2} x^{2}}{d^{2}}}\right | > 1 \\\frac {3 d^{3} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}}}{- 15 d^{2} x^{5} + 15 e^{2} x^{7}} - \frac {4 d e^{2} x^{2} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}}}{- 15 d^{2} x^{5} + 15 e^{2} x^{7}} + \frac {2 e^{6} x^{6} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}}}{- 15 d^{5} x^{5} + 15 d^{3} e^{2} x^{7}} - \frac {e^{4} x^{4} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}}}{- 15 d^{3} x^{5} + 15 d e^{2} x^{7}} & \text {otherwise} \end {cases}\right ) + d^{2} e \left (\begin {cases} - \frac {d^{2}}{4 e x^{5} \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}} + \frac {3 e}{8 x^{3} \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}} - \frac {e^{3}}{8 d^{2} x \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}} + \frac {e^{4} \operatorname {acosh}{\left (\frac {d}{e x} \right )}}{8 d^{3}} & \text {for}\: \left |{\frac {d^{2}}{e^{2} x^{2}}}\right | > 1 \\\frac {i d^{2}}{4 e x^{5} \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}} - \frac {3 i e}{8 x^{3} \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}} + \frac {i e^{3}}{8 d^{2} x \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}} - \frac {i e^{4} \operatorname {asin}{\left (\frac {d}{e x} \right )}}{8 d^{3}} & \text {otherwise} \end {cases}\right ) - d e^{2} \left (\begin {cases} - \frac {e \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}}{3 x^{2}} + \frac {e^{3} \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}}{3 d^{2}} & \text {for}\: \left |{\frac {d^{2}}{e^{2} x^{2}}}\right | > 1 \\- \frac {i e \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}}{3 x^{2}} + \frac {i e^{3} \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}}{3 d^{2}} & \text {otherwise} \end {cases}\right ) - e^{3} \left (\begin {cases} - \frac {e \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}}{2 x} + \frac {e^{2} \operatorname {acosh}{\left (\frac {d}{e x} \right )}}{2 d} & \text {for}\: \left |{\frac {d^{2}}{e^{2} x^{2}}}\right | > 1 \\\frac {i d^{2}}{2 e x^{3} \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}} - \frac {i e}{2 x \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}} - \frac {i e^{2} \operatorname {asin}{\left (\frac {d}{e x} \right )}}{2 d} & \text {otherwise} \end {cases}\right ) \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 155, normalized size of antiderivative = 1.44 \[ \int \frac {(d+e x) \left (d^2-e^2 x^2\right )^{3/2}}{x^6} \, dx=-\frac {3 \, e^{5} \log \left (\frac {2 \, d^{2}}{{\left | x \right |}} + \frac {2 \, \sqrt {-e^{2} x^{2} + d^{2}} d}{{\left | x \right |}}\right )}{8 \, d} + \frac {3 \, \sqrt {-e^{2} x^{2} + d^{2}} e^{5}}{8 \, d^{2}} + \frac {{\left (-e^{2} x^{2} + d^{2}\right )}^{\frac {3}{2}} e^{5}}{8 \, d^{4}} + \frac {{\left (-e^{2} x^{2} + d^{2}\right )}^{\frac {5}{2}} e^{3}}{8 \, d^{4} x^{2}} - \frac {{\left (-e^{2} x^{2} + d^{2}\right )}^{\frac {5}{2}} e}{4 \, d^{2} x^{4}} - \frac {{\left (-e^{2} x^{2} + d^{2}\right )}^{\frac {5}{2}}}{5 \, d x^{5}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 388 vs. \(2 (92) = 184\).
Time = 0.29 (sec) , antiderivative size = 388, normalized size of antiderivative = 3.59 \[ \int \frac {(d+e x) \left (d^2-e^2 x^2\right )^{3/2}}{x^6} \, dx=\frac {{\left (2 \, e^{6} + \frac {5 \, {\left (d e + \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |}\right )} e^{4}}{x} - \frac {10 \, {\left (d e + \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |}\right )}^{2} e^{2}}{x^{2}} - \frac {40 \, {\left (d e + \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |}\right )}^{3}}{x^{3}} + \frac {20 \, {\left (d e + \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |}\right )}^{4}}{e^{2} x^{4}}\right )} e^{10} x^{5}}{320 \, {\left (d e + \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |}\right )}^{5} d {\left | e \right |}} - \frac {3 \, e^{6} \log \left (\frac {{\left | -2 \, d e - 2 \, \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |} \right |}}{2 \, e^{2} {\left | x \right |}}\right )}{8 \, d {\left | e \right |}} - \frac {\frac {20 \, {\left (d e + \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |}\right )} d^{4} e^{8}}{x} - \frac {40 \, {\left (d e + \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |}\right )}^{2} d^{4} e^{6}}{x^{2}} - \frac {10 \, {\left (d e + \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |}\right )}^{3} d^{4} e^{4}}{x^{3}} + \frac {5 \, {\left (d e + \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |}\right )}^{4} d^{4} e^{2}}{x^{4}} + \frac {2 \, {\left (d e + \sqrt {-e^{2} x^{2} + d^{2}} {\left | e \right |}\right )}^{5} d^{4}}{x^{5}}}{320 \, d^{5} e^{4} {\left | e \right |}} \]
[In]
[Out]
Time = 13.17 (sec) , antiderivative size = 93, normalized size of antiderivative = 0.86 \[ \int \frac {(d+e x) \left (d^2-e^2 x^2\right )^{3/2}}{x^6} \, dx=\frac {3\,d^2\,e\,\sqrt {d^2-e^2\,x^2}}{8\,x^4}-\frac {{\left (d^2-e^2\,x^2\right )}^{5/2}}{5\,d\,x^5}-\frac {3\,e^5\,\mathrm {atanh}\left (\frac {\sqrt {d^2-e^2\,x^2}}{d}\right )}{8\,d}-\frac {5\,e\,{\left (d^2-e^2\,x^2\right )}^{3/2}}{8\,x^4} \]
[In]
[Out]